package com.qianfeng.openapi.web.master.mapper;

import com.qianfeng.openapi.web.master.pojo.Menu;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @Author LJF
 * @Date 2020/7/1 16:41
 * @Version 1.0
 */
@Repository
public interface MenuMapper {

    List<Menu> findMenuByUid(Integer uid);

    List<Menu> getAllMenu();

    int insertMenu(Menu menu);

    int deleteMenu(Integer[] ids);

    int updateMenu(Menu menu);

    Menu getMenuById(Integer id);

    int deleteMenuByIds(Integer[] ids);

}
